/**
 * 
 */
package com.softme.trade.view.components;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * @author meyer
 * 
 */
public class MenuModel implements Serializable
{
	private String group;

	private String label;

	private String url;
	
	private String tabID;

	private String groupID;

	private String iconImg;

	private List<MenuModel> subMenu = new ArrayList<MenuModel>();

	public MenuModel(String group)
	{
		super();
		this.group = group;
	}

	public MenuModel(String group, String label, String url, String groupID, String iconImg, String tabID)
	{
		this(group);
		this.label = label;
		this.url = url;
		this.groupID = groupID;
		this.iconImg = iconImg;
		this.tabID = tabID;
	}

	public String getGroup()
	{
		return group;
	}

	public String getLabel()
	{
		return label;
	}

	public String getUrl()
	{
		return url;
	}

	public String getGroupID()
	{
		return groupID;
	}

	public String getIconImg()
	{
		return iconImg;
	}

	public List<MenuModel> getSubMenu()
	{
		return subMenu;
	}

	public String getTabID()
	{
		return tabID;
	}

	public void setTabID(String tabID)
	{
		this.tabID = tabID;
	}

}
